setup views and load counts