created the posts counter