0
/ 1.0
Complete the function countStrings() so that it returns the count of Strings in the array names that are not null.
Complete the function countStrings() so that it returns the count of Strings in the array names that are not null.
Examples:
countStrings({}) -> 0
countStrings({"pedro",null}) -> 1
countStrings({"pedro",null,"maria"}) -> 2
countStrings({"pedro","maria","don"}) -> 3
Your feedback will appear here when you check your answer.