### ImageMagick version

7.1.0

### Operating system

Linux

### Operating system, version and so on

Windows 11

### Description

How can I read the number of layers in an .ai file?

### Steps to Reproduce

How can I read the number of layers in an .ai file?

### Images

_No response_
How can I read the number of layers in an .ai file?
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : How can I read the number of layers in an .ai file?
Issue date:

--- start body ---
### ImageMagick version

7.1.0

### Operating system

Linux

### Operating system, version and so on

Windows 11

### Description

How can I read the number of layers in an .ai file?

### Steps to Reproduce

How can I read the number of layers in an .ai file?

### Images

_No response_
--- end body ---
