title: Count the number of True booleans grouped together between False booleans and return in list
body: <p>I have a list of booleans:</p>
  <pre><code>[False, True, True, True, False, False, True, True, True, True, True, False, True, True, True, True, True, True, True, False]
  </code></pre>
  <p>I am looking for a way to count the number of True values grouped together, separated by False values. For the above example, I would be looking for an output of <code>[3, 5, 7]</code>.</p>
  <p>I have tried using groupby, and various counting methods but all I have been able to get so far is the total number of True values or the number of groups of True there are. My actual data will be a much longer list of booleans, is there a way to efficiently get this type of output?</p>
  <p>Thank you!</p>