Instrumented matrix_count.c