Write a function to count the number of strings in an array.
Implement the function for a Python list that may contain strings and other values. Return the number of elements whose type is str.
Function signature: def count_strings(items):
The input is one list, and the output is one integer.
str, including empty stringsdef count_strings(items):