That link shows how to count multiple "x"s in the same cell. If you have only single "x"s in each cell and you want to count how many there are in a range of cells, e.g. A1:A100 then use COUNTIF
=COUNTIF(A1:A100,"x")
it's not case-sensitive so that counts both "x" and "X"
regards, barry