Implemented all photos count.