Image number

Explanation
This variable returns the number of subimages in the current sprite of the instance it is called in. It is very useful when dealing with animations.