counts range fix