The number of members in a group.
The first form returns the number of individual agents in the Population.
The second form returns the number of members in the ordinary agent’s group. If the agent is not a member of the given group, the function returns 0.
Name of a mixing group or Population
If an agent is a member of a School, then the agent can find the size the school with:
my_school_size = size(School)