tokenization and count occurrences
Path filter for security filter