How many James Bond novels did Ian Fleming publish in his life?

How many James Bond novels did Ian Fleming publish in his life?