occurence count of pattern added