Fixes #844 #5725 - correct hosts count in puppetclass

unscoped hosts?  Default scope might be in play.