add comments count to photo entry