photo count fixed