count-breed-with
[list of commands]
Parameters:
[list of commands] |
List of commands |
condition to determine whether a frog is counted |
Description:
Returns the number of turtles whose breed is frogs and satisfy the conditions (must return a boolean of true or false) specified by [list of commands].
Examples:
count-frogs-with [color = blue]
returns the number of blue frogs.
Related Commands:
count-breed
count-breed-at
count-breed-here
count-breed-towards
count-turtles-with