How many F1 races are there in a year?

There are 23 scheduled races in 2023, the most of any year. When F1 first started in 1950, there were only 7 races. Since then, the number of races has steadily increased.