Make ItemSet.get_total() raise AttributeError if the set is empty