title: Count the number of elements in a string separated by comma
body: <p>I am dealing with text strings such as the following:
  <code>LN1 2DW, DN21 5BJ, DN21 5BL, ...</code></p>
  
  <p>In Python, how can I count the number of elements between commas? Each element can be made of 6, 7, or 8 characters, and in my example there are 3 elements shown. The separator is always a comma.</p>
  
  <p>I have never done anything related to text mining so this would be a start for me.</p>