The true number of offences committed by Paul Farrell is probably “in the thousands”, a court hears.