Fixed get method for count on python