A report function that counts the total of groups in a report. If a null-groupname is given, all groups are counted.
A group can be defined using the property "group". If the group property is not set, all group starts get counted.
author: Thomas Morgner
Return a completly separated copy of this function. The copy does no longer share any changeable objects with the
original function.
a copy of this function.