How many innings does a typical baseball game have?

How many innings does a typical baseball game have?