Custom code to retrieve the sum of contacts in a petition group.