How To Keep A Running Count In Python