Yes the command will only count if it’s exactly word for word right though.
Command:
!addcom first_word_of_phrase -a=!editcom !second_command_name $(eval `$(query)`.toLowerCase()==`rest_of_phrase`.toLowerCase()?`Phrase_here has been said $(count) times.`:` `)
Second Command:
!addcom !second_command_name Phrase_here has been said x times.