post count outputted rather than treated as control structure