Get number of jobs in registry.
getJobNr(reg)
reg
[Registry] Registry.
Registry
[integer(1)].
integer(1)