setup a view for handling counts