counters getter fix - type handling