Returns the number of images in the object
Returns the number of images associated with Imagick object.
Throws ImagickException on error.