add binary-counter sample