color
Returns the number of patches that are the color color. Note: This command can also be executed by patches, for example within an ask-patches statement.
ask-patches
Examples:
count-pc blue returns the number of blue patches.
Related commands: count-pc-range