add counter cache from variants to stock items

This adds a counter cache for stock items.

While running bullet and deleting some option types, it recommended me to setup a counter cache for stock items. I decided to do so. This was the result of that effort.
Sure doesn't make sense to me, but all I've read is that postgres handles this stupidly.