implemented visit count for posts