added object counter example