Fix problem with displaying wrong number of pages. Add functionality to hide pager and pagination when `count` equals `1`