use aggregation queries in get_num_boys and get_num_girls methods