Revert "Implemented all photos count."

This reverts commit efd949ad6c72263fec085d1fd11b4471c1a15b50.
all photos count changes