Writing number of sprites to sprite sheet info.