Turtle and Observer Command

sum-of-frogs [list of commands]

Reports the sum of [list of commands] for all the turtles of breed frogs.

Note: When a turtle calls the command, it is not included as part of the calculation.

Examples:
sum-of-frogs [weight] returns the sum of all the frog's weights.

Related commands: sum-of-frogs-with