public function __construct(Field $field) { $this->field = $field; $this->aliasField = new NumericField($field->getDatabase(), "Count"); }