title: how to increment with find -exec?
body: <p>I Would like to do something like that</p>
  
  <pre><code>#!/bin/bash
  
  nb=$(find . -type f -name '*.mp4' | wc -l)
  var=0
  find . -type f -name '*.mp4' -exec ((var++)) \;
  echo $var
  </code></pre>
  
  <p>But it doesn't work ? Can you help me ?</p>