Add test case for Object return type
Introduce Counter