How many representatives had to vote for the removal of The Speaker?
More than voted to keep him as speaker. It was 216 against and 210 for. Obviously 9 abstained. 8 Republicans voted for his ouster which is a net minus of 16 votes.
Therefore, If 3 of those 8 had supported McCarthy, he would have survived.