I'm trying to test if an exclusion script works in journey builder using a script like this:
ROWCOUNT(LOOKUPROWS("my-data-extension","EmailAddress", EMAILADDR))>0
How could I use the script in a test email in email studio, and modify the code to print the result of the Script? Such as, if the Ampscript code returns "1" during the preview and test with the respective data extension, it would exclude the subscriber.
Could someone help me figure out how to write the AMPscript using the V function?