count-color
color
Parameters:
color |
Number |
color of turtles to be counted |
Description:
Returns the number of turtles that are the color color.
Examples:
count-color black
returns the number of black turtles.
Related Commands:
count-color-range
count-pc
count-pc-range