Small glitch: if you finished the final room as the clock hits zero, it appears to count all of your candy twice because both game over conditions have been met.
I accidentally did this also and I'm pretty sure it's a strictly visual bug because it said I earned around 900 that run and my next few runs were also about 900.