Stanford CS is tied for #1 with Berkeley CMU and MIT
Stanford doesn't have that cache, despite what US News & World might say. US News & World rankings tend to be fairly subjective, look at their top 15 cities.
Edit: CS School Rankings for those interested: https://www.usnews.com/best-graduate-schools/top-science-sch...
How about number of Turing laureates? Stanford has the most for alumni + faculty, and comes second if you only count alumni (to Berkeley), and comes second if you just count long-term faculty (to MIT), and comes first for short-term faculty.[0]
https://en.wikipedia.org/wiki/List_of_Turing_Award_laureates...