Changed count_geo_img.y to deal with multiple files