Hi dev,
I suspect there is a bug in this function.
In its most basic form, counting a table without using the where condition, i get the reply " Unknown column ‘id’ in ‘field list’", and all further configuration attempts all end with the same result.
Changing from selectCount to select works fine.