fixed type mapping controller
fixed mapping test for counts