grim_map_total_n function

GRIM-testing with hypothetical group sizes