Whatever the sample is from, it's horrible English. It's ungrammatical and doesn't make a lot of sense without more context.
My guess is it's reported speech, a quote from some poorly-educated person, possibly talking about drugs. eg a gram of cocaine. But really I have no idea. Or maybe it's diamonds? Gold? Small quantities of good stuff among a larger quantity of bad. (a dozen=12, out of 50-60)
In any case, "counting" probably means "including" although it's not a common usage.
Seriously, you won't learn to speak English well if you use this kind of material.