Added a function for the posts and plugins count.