I am executing the following query on redshift:
select regexp_count(\'N|M|C|K|\',\'|\')
Result:9
Expected Result: 4
As per my understanding, the rege