Oops my mistake, getCountSQL should actually call getCountSQL :). i'll update this, thanks