Should count. Refs have a hard enough job as is, without adding in half a hit on hand half on gun. Or it breaks on gun and splatters onto hand. In REAL life, if you hit someones gun, it no longer works unless your extremely lucky.
You hit the barrel... barrel gets messed up and no longer fires properly. Hit the magazine, fun things happen. Think about it.
Refs have a hard job as is, usually because some middleaged SWAT guy is giving them guff only because the ref is 18.