Returns the length of the given null-terminated string array str_array.
str_array
a null-terminated array of strings
length of str_array.