please use the fluent api:

    $table->find($type)->where($conditions);

`$type` could be something configurable for each field, so the user can specify what finder to sue for generating the cached count