Return bad_argument from Length for types without notion of length