How to count number of columns in grader report

How to count number of columns in grader report

by D e v -
Number of replies: 0

I am using moodle 1.9.3 in the grader report i have a category in which i have a grade item name "Number of Test Taken". Following this column are the quiz columns. When students attempts the quiz their score is updated in quiz columns automatically. I have a column which calculate the sum of score and display it as course total. But i want is that the column "Number of Test Taken" should count the number of quiz student had attempted. It should automatically count only the number of columns which have score in them.

Attachment moodle.jpg