count-pc
color
Parameters:
color |
Number |
color to determine whether to count a patch |
Description:
Returns the number of patches that are the color color.
Examples:
count-pc blue
returns the number of blue patches.
Notes:
This command can also be executed by patches, for example within an ask-patches statement.
Related Commands:
count-color
count-color-range
count-pc-range