Add a counting handler, fix combined object creation
Add object counter example