added count method to start page