Returns the number of images associated with Imagick object.