photos count now rejects the photos without posts