added example how to count number of files