counts the number of numeric elements in a vector, without throwing warnings
countNumeric(x)
x
is usually a character vector
integer