implemented stats
put in todo for bug with ignore files and ignore dirs