Data Extension AMPscript Functions - ExactTarget Documentation
DataExtensionRowCount(S1) Returns number of rows in the specified data extension. Use this function in place of a Lookup() call when only counting the number of rows in a data extension. You can add the ent. prefix to the data extension name to specify a ...