This code snippet shows how you could count the population in your game.
An example of when clones are created is the ‘egg laying’ code snippet.
It works by initially setting the ‘offspring count’ variable to 0, and adding one every time a clone is created.
