title: Python - Count elements of a list within a range of specified values
body: <p>I have a large list of words:</p>
  
  <pre><code>my_list = ['[tag]', 'there', 'are', 'many', 'words', 'here', '[/tag]', '[tag]', 'some', 'more', 'here', '[/tag]', '[tag]', 'and', 'more', '[/tag]']
  </code></pre>
  
  <p>I would like to be able to count the number of elements in between (and including) the [tag] elements across the whole list. The goal is to be able to see the frequency distribution. </p>
  
  <p>Can I use <code>range()</code> to start and stop on a string match? </p>