$log->GetNumber(\$number)
log
number
Returns the number of events as the value of the scalar variable number.