Get the number of headcrabs on a poison zombie?

Is there anyway to get the number of black headcrabs that are currently attached to a poison zombie? I looked at the keyvalues and saw one called crabcount, but it seems to always return 0.