Due to the intense conditions inside a gas giant, we're not sure if they still have a rocky core, or if the cores have liquified or even convected away to mix with the gasses.
So the answer could be "there are dozens of times the Earth's mass worth of rocky material inside gas giants" or "there is no rocky material inside gas giants", or anywhere in-between. We need more detailed study of the gas giants before we can answer that question.
Models of solar system formation also suggest the Kuiper belt started with dozens of times Earth's mass, but we only see about 10% there now, and we only have pretty good guesses about what happened. (I mean, it almost certainly got ejected, but the "why" is harder.)
https://en.wikipedia.org/wiki/Juno_(spacecraft)#Scientific_o...
What do we know about the gas giants' cores?