Technically, you can have 4096 sprites, since 0 counts as one. That said, you can only have 512 sprites on screen at once, and you only have a 512x512 pixel space for your sprite sheet. None of these limits are much of a problem though.