bug fixed in reports_classes.inc:37: count(). @cleal.