Count occurrences of cell S2 in all of column S

=COUNTIF(S:S, S2)