fixed posts and files counter