How many James Bond films were released during Ian Fleming's lifetime?

How many James Bond films were released during Ian Fleming's lifetime?