The “97% consensus” number is based on surveys of scientists in general, not just climate scientists. Including scientists when they agree with a position, but not when they disagree (because they aren’t real climate experts) is a very strange debate tactic.