I did not see IK so can't comment on that, but he has long gone past Waqar. Gap in skills is just too wide to care about number of wickets. It's true in all formats. 400-500 international wickets with huge impact in all formats is enough to judge.
I saw Wasim and I will put Wasim ahead right now in test. He could do everything Bumrah could do. Yah, Bumrah is probably harder to face due to his late release and has higher impact but Wasim was veyr skillful bowler, did very well agaisnt top teams and has higher number of wickets.
Having said that one great bowler can't win you many games. Same thing happened with Wasim. Waqar was gun with reverse but not great with new ball skills and not great agasint good batting sides. That's the reason, despite namesheet having Wasim, Waqar, Saqlain, Akhtar, Anwar, Inzzy, etc won so little in Aus, SA. You could bank on Wasim to do well eveywhere but that was not enough , he was good but not that good to force a win. That's why I said if Bumrah can be good enough to force 2-3 wins then I will have no hesitation to rate him ahead of Wasim even if he hangs his boot in one year. History shows that it's extremely hard.