Turtle and Observer Command

count-color color

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