Fixes #844 #5725 - correct hosts count in puppetclass

Why ```cg``` , especially since these are ```host_ids```?