Tuesday night, the Alabama secretary of state tallied 22,780 votes for write-in candidates, though many of those may ultimately be discarded because they were not cast far an actual registered candidate. Jones beat Moore by fewer than 21,000 votes. You do the math.
As a point of comparison, in 2016, Shelby won his re-election 64%-36% over a Democratic challenger, and there were fewer than 4,000 write-in ballots. And that was in a presidential year, so there were many more voters participating in the election (about 2.1 million versus the 1.3 million votes cast Tuesday night.)