Counter can take iterable in constructor