Event counts osc

This is the initial commit of the stage 2 interface.