No, I think @david_2018 has converted this method into compliable code.
now depending on how many leading zero's you need you can add more like this:
if (count < 100000) display.print('0');
if (count < 1000000) display.print('0');
if (count < 10000000) display.print('0');
display.print(count);