def countables
      key :type, Integer
      key :ts, Time
      key :uid, String

      key :count, Integer

      generate_aggregators { |ts, method|
        totype = method_names_type_counter(method)
        fromtype = get_fromtype_for_totype(totype)
        aggregate_and_create(fromtype, totype, ts)
      }
    end
def countables
      key :type, Integer
      key :ts, Time
      key :uid, String

      key :count, Integer

      generate_aggregators { |ts, method|
        totype = method_names_type_counter(method)
        fromtype = get_fromtype_for_totype(totype)
        aggregate_and_create(fromtype, totype, ts)
      }
    end
Define the columns necessary for counter model