I have a list:
my_list = ['coffee', 'sunshine', 'hiking', 'stocks', 'mountains', 'space', 'Travel']
I would like to count the occurrence of a specific letter across all the elements in that list, let's say the letter 's'.
Can this be achieved without loops?
collections.Counter("".join(my_list))["s"]