src/Summary.php
public function expectation()
    {
        $total = 0;
        foreach ($this->_logs as $key => $value) {
            foreach ($value as $log) {
                $total += count($log->children());
            }
        }
        return $total;
    }
public function expectation()
    {
        $total = 0;
        foreach ($this->_logs as $key => $value) {
            foreach ($value as $log) {
                $total += count($log->children());
            }
        }
        return $total;
    }
public function expectation ( ) { $ total = 0 ; foreach ( $ this -> _logs as $ key => $ value ) { foreach ( $ value as $ log ) { $ total += count ( $ log -> children ( ) ) ; } } return $ total ; }
Return the total number of expectations.

@return integer
Return the total number of expectations .