Photo count fix