add freq stat example