Fix post count error when adding new upload image