public function withCount($withs)
    {
        if ( ! is_array($withs)) {
            $withs = func_get_args();
        }

        $this->withCounts = $withs;

        return $this;
    }
public function withCount($withs)
    {
        if ( ! is_array($withs)) {
            $withs = func_get_args();
        }

        $this->withCounts = $withs;

        return $this;
    }
public function withCount ( $ withs ) { if ( ! is_array ( $ withs ) ) { $ withs = func_get_args ( ) ; } $ this -> withCounts = $ withs ; return $ this ; }
Adds relations to count

@param $withs
@return $this
Adds relations to count