function counts the number of cases in a file opened as external dictionary dictionary_name
. An optional logical condition
, referencing items in the external dictionary, can be supplied to count the number of cases in the file that meet a certain criterion.
The function returns the number of cases in the file, or if a condition is given, the number of cases that meet that condition. If there is an error processing the file, the function returns default