count breeds with block


Description:

Reports the number of agents of a particular breed that are currently alive for whom the condition is true.

Arguments:

condition (boolean): A condition that must be true of agents if they are to be counted.

Examples:

reports the number of red agents of this breed.