How many films did Roger Moore play the part of James Bond?

How many films did Roger Moore play the part of James Bond?