Description: Checks for critical clients in all groups and generates an associative array about groups with critical clients.
Returns:
Associative array with all groupnames as key and the amount of the critical clients as value. Only groups with critical clients are added to the output array.