to count the number of times a dataset is used by a student to calculate the product of two variables to make a third variable to count the number of cases that fall into different subgroups within a dataset to calculate the sum of a column of variables in a dataset