Create a function that takes a list of strings and return the number of smiley faces contained within it. These are the components that make up a valid smiley:
: or ;.- or ~.) or D.No other characters are allowed except for those mentioned above.
count_smileys([":)", ";(", ";}", ":-D"]) ➞ 2
count_smileys([";D", ":-(", ":-)", ";~)"]) ➞ 3
count_smileys([";]", ":[", ";*", ":$", ";-D"]) ➞ 1
:) and :-) are both valid).