Yes that doesn’t count the vacant seats just people who are current members listed as “not voting”.
Odd that Boehner didn’t vote, Newt didn’t vote in 1997 either.
Traditionally, Speaker candidates don’t vote for Speaker. Pelosi broke with tradition, as usual.