change count tool to be able to work on specified files (eg. take arguments)