Count patches the right way