added post type option for posts counter
improved the admin class
added a option to set the post type for posts counter
improved the posts counter view