src/Connection/Connection.php
public function count($col, $alias, $distinct = false)
    {
        $this->counts[] = [$col, $alias, $distinct];

        return $this;
    }
public function count($col, $alias, $distinct = false)
    {
        $this->counts[] = [$col, $alias, $distinct];

        return $this;
    }
Count specified column.

@param string $col
@param string $alias
@param bool $distinct
@return mixed