count number of tests