Again, there's no definition for a hunting rifle, so I can't give a categorical answer there. There aren't any hunting applications that I'm aware of that require a magazine size of 20 or 30 cartridges. The magazine size is self-limiting in the sense of what is useful for hunting.
That said, in Canada right now at the present time, the traditional hunting rifles will have magazine sizes of around three or four shots, but there are exceptions. That is where former military firearms have been reused for hunting purposes. I'll use the classic example of the Lee-Enfield bolt-action rifle from World War II. Many tens of thousands of those firearms were recycled after World War II for use as hunting rifles. They have a 10-shot magazine.
It's possible to have a bigger magazine on a hunting rifle, but a hunter typically would not use that many cartridges.