Update statistics.class.php

Updated for Quark.