Added some extra logging.
Fixed a typo.
return nubmer of pages with public cameras query
style fix