How To Count The Values In Python