How many James bond films did not star Roger Moore as the main actor?

As of this writing, there are 17 James Bond films not starring Roger Moore.