Fix post counting