Finished fixing count_geo_img.py