Update inc/class.bocdiscoo.inc.php

Deleted count() an max() from factorisation in getXQueryConsistency