title: Batch File Counter in a for loop
body: <p>I have a for loop that I'm trying to count each loop however this loop echo's zeros. How do I get it to increment?</p>
  
  <pre><code>@echo off
  setlocal enableextensions
  
  set /a count = 0
  
  for /f "Delims=" %%a in (content\docs.html) do (
      set /a count+=1
      echo %count%
  )
  </code></pre>