view count and flush post