ActiveRecord plugin that maintains production statistics including the calculation of existence conditions