MT#8873 Fix showing number of recent calls.

(cherry picked from commit 92a496f1666c8fd078b3f079c9fca2ae91d956e8)
(cherry picked from commit cf93f0bf63dca1b66775feb5c7622af0c4d4cae6)