Added getting count of posts in theme and count of posts from timestamp