updating to latest python

Fixed Image count issue