Added a gui for the sr_counting demo