Counter constructor

Counter(String name, CounterType type)

Creates a instance of the data obejct

  • name a counter name.
  • type a counter type.