public function count()
    {
        $command = RevListCommand::getInstance($this->getRepository())->commitPath($this);

        return count($this->getCaller()->execute($command)->getOutputLines(true));
    }
public function count()
    {
        $command = RevListCommand::getInstance($this->getRepository())->commitPath($this);

        return count($this->getCaller()->execute($command)->getOutputLines(true));
    }
public function count ( ) { $ command = RevListCommand :: getInstance ( $ this -> getRepository ( ) ) -> commitPath ( $ this ) ; return count ( $ this -> getCaller ( ) -> execute ( $ command ) -> getOutputLines ( true ) ) ; }
number of commits that lead to this one

@throws \RuntimeException
@throws \Symfony\Component\Process\Exception\LogicException
@throws \Symfony\Component\Process\Exception\InvalidArgumentException
@throws \Symfony\Component\Process\Exception\RuntimeException
@return int
number of commits that lead to this one