added count method
more docu
working version of the analyser - dont have time now