I'm programming a simulation using repast simphony groovy API.
There's a method count(myTurtles) which allows me to count the number of agents (turtles) of a particular class myTurtle extends BaseTurtle.
My question is: Is there any way to filter this count so I can only get the turtles matching a particular value for a property (shape, color, size...)?