The count command produces a total of the number of items that meet the selection criteria as determined by the item.list and selection.criteria specification.
count file.reference {item.list} {selection.criteria} {modifiers} {(options)}
Access Query Language, AQL command categories, File reference (Access Query Language), Item list, Modifiers, Options (Access Query Language), Selection criteria, check-sum command, within modifier,