Turtle and Observer Command

count-pc-range mincolor maxcolor

Returns the number of patches that have colors between mincolor and maxcolor, inclusive.

Examples:

count-pc-range 0 0 returns the number of patches with color black.

Related commands:
count-pc