extended stub to store a post count variable (for test)