Update Datatables.php

Fixed count method to allow counting if "having" and "havingRaw" clause exists in query