added posts count variable