The fit is worked out from each map's measured floor area and how far apart the spawns are, compared with maps whose usual player count is well known. Deathmatch-type means deathmatch, duel, arena and king of the hill maps; the mode comes from the map name (dm_, ar_, koth_, ctf_ ...) or the modes the map file lists. The numbers are estimates from the block models: open each map to check.
Made from the map file: floors are where a player can stand (found by following walkable floors from the spawn points and items), walls are solid cells next to a floor, heights are in game units. Doors are drawn open. Objects and props without collision brushes are not shown.