Just a few bunch of snippets to use the wonderful plugin Easy Download Media Counter made by Remi Corson