function getAllNumberOfBets() public constant returns (uint){
        uint allNumberOfBets = 0;
        for(uint i = 0; i < group_pools.length; i++) {
            uint group_num = group_pools[i];
            Group storage group = groups[group_num];
            allNumberOfBets = SafeMath.add(group.num_betters, allNumberOfBets);
        }

        return allNumberOfBets;
    }