Fix a bug in Counter site introduced during API translation.
Fix a bug in Counter site introduced during API translation.

This commit should probably be cherry-picked into master, ASAP.

orc-lang/orc,orc-lang/orc,orc-lang/orc,orc-lang/orc,orc-lang/orc