Shouldn't need this. There's a counter attribute on `Cookbook` https://github.com/opscode/supermarket/blob/master/db/schema.rb#L139.