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.
weird postgres... probably doesn't make any difference, but might be better to apply this before reseting the counters.