needs to be 
Puppetclass.increment_counter(:lookup_keys_count, k.puppetclass_id)