I'm trying to use AMPscript to pull the number of rows (all rows, rather than matching to a specific variable) in a data extension and insert that variable into an email. However, the variable I'm using isn't being recognized. Why is that? How can I fix it?
%%[ var @rowCount set @rowCount = DataExtensionRowCount("DE_Name") ]%%%%=v(@rowcount)=%%