Fixed counter
Removed console.log
Merge pull request #4 from serenity/counter

Fixed counter working with files