code: public function countArguments(Tokens $tokens, $openParenthesis, $closeParenthesis)
      {
          return \count($this->getArguments($tokens, $openParenthesis, $closeParenthesis));
      }
docs: Count amount of parameters in a function/method reference.
  
  @param Tokens $tokens
  @param int    $openParenthesis
  @param int    $closeParenthesis
  
  @return int