Add minimum example for the counter extension