Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [Imagick

Protect Your Website Today

PHP Manual || Imagick

(No version information available, might only be in Git)

Imagick::countGet the number of images


public Imagick::count ([ int $mode = 0 ] ) : int

Returns the number of images.



An unused argument. Currently there is a non-particularly well defined feature in PHP where calling count() on a countable object might (or might not) require this method to accept a parameter. This parameter is here to be conformant with the interface of countable, even though the param is not used.

Return Values

Returns the number of images.

PHP Manual || Imagick