Removed settings page, decided that settings are not going to be needed for this plugin.
Added count_key to the plugin variable store and made use of it.
Added two functions, one to get the popular posts and another to get a particular posts view count.