How To Count The Number Of Objects In A Class In Python