This section requires a court, in certain circumstances when passing sentence, to indicate the sentence that it would have passed had the defendant entered a guilty plea at the earliest reasonable opportunity. This section is intended to increase awareness of the availability of sentencing credit for an early plea and add some clarity around the level of credit that may be available in particular circumstances.