Another way to say "July has 31 days" is "July is among the longest months, none of which have more than 31 days."