Add #count method on record objects.

I was doing something in Shopify and I realized that was missing. What do you think?