count method
Get an IntField with count of this field values.
Implementation
IntField count() {
IntField result = IntField();
result.queryBuilder = () => 'COUNT(${buildQuery()})';
result.parametersBuilder = () => [...getParameters()];
return result;
}