title: Enumerating the delims of a FOR /F statement
body: <p>I have a FOR /F statement which I want it to enumerate the delims the command is parsing. For example:</p>
  
  <pre><code>FOR /F "delims=," %%A IN ("This,is,a,comma,delimited,sentence") DO (
      some command to enumerate delims
  )
  :OUT
  </code></pre>
  
  <p>I want it to account for each delimited item in that sentence. In this case it would output <code>6</code></p>
  
  <p>EDIT: I know the long way would be to do a check on each one.. but I'm trying to avoid that method:</p>
  
  <pre><code>IF %%A == [] SET enum=0 &amp;&amp; GOTO:OUT
  IF %%B == [] SET enum=1 &amp;&amp; GOTO:OUT
  </code></pre>
  
  <p>etc.</p>