I counted the coins on both levels and it is possible to collect more than 44. This should be enough to get the code. You also get coins for the enemies or blocks ;) ...Or does the game not display anything?