Added default for max count of returned photos.