It means the number of crimes or the number of a certain crime. For example, a mass shooters kills 5 people and wounds another 7. They get charged with 5 counts of murder (one murder charge for each victim killed) and 7 counts of attempted murder (one for each victim wounded).