Another way to say "October has 31 days" is "There are 31 days in October."