Fixes #844 #5725 - correct hosts count in puppetclass

Please use meaningful variables, pc/hg/cg are not instantly obvious for everyone.