Potentially “thousands” of policing roles were miscounted by the last government, meaning cuts to officer numbers were “even worse” than expected, the Home Secretary has said.