Count totals for tests.