Here is my query:
SELECT COUNT(*) FROM Similarities WHERE T1Similarity = 0 OR T2Similarity = 0
Here is the result:
Msg 8115, L
SELECT COUNT_BIG(*) FROM Similarities WHERE T1Similarity = 0 OR T2Similarity = 0
Use COUNT_BIG