I need help with spawn, I do not know how to limit the amount of dinos

There was a tutorial made by exilog:

I would compare with that and see if anything got missed