In test cricket , normally we always have 3-4 good teams and then quality drops a lot. Its hard to do well against the top 3-4 teams and it's legendary to do well against the top 3-4 teams in their den. That's why, players who perform agaisnt the top 3-4 teams are rated in a different class and it's elevated to even a greater heights if you do in their dens. Performance against the bottom 3-4 teams is good for stats but it does not add to stature of batsmen or bowlers.
Take Bumrah for example, Avg agasint BD/WI/SL - Avg 10 with 34 wickets.
But no one rates Bumrah high due to these stats. He is rated high due to so many match and series changing spells in SA, Aus , Eng etc. He could average 24 instead of 20 without ever playing bottom 3-4 teams but it won't change his stature. Bumrah is not going to be rated high due to avearging 10 runs per wicket or lets say if he plays 40 tests against BD/WI/Zim/Afg etc to end up with career avg of 15, he won't be rated for that. He will be always rated for doing well agasint the top teams of his era in their den even if his career avg ends with 24.
Flip side with clear example: Waqar with 36 tests agasint top 4 batting sides of his era( Aus, SA, WI, Ind ) averages 29. At same time against the bottom 4 sides of his era( BD/Zim/SL/NZ) he has 200 plus wickets with average of 19. Him averaging 19 count for lot less and his stature is lower due to not doing well against the top sides. It's not even in their dens, just the opposition.
In short, runs and performance against Pakistan counts for stats, but not for stature in the last 5 years. They are not really BD or Zim level of older era but heading into that direction. If current trajectory continues for another 5-10 years then I will personally stop counting runs or performacne against Pakistan. Pakistan's bowling had been in a continuous decline for the last 20-30 years, but it's alarming bad now. Hopefully we see a reversal.