counter test program