Usage patterns
無数の〈物〉countless ~ / innumerable ~
Countless stars were shining in the night sky.
〈物〉が無数にあるthere are countless ~
There are countless fish in the sea.
無数に〈動詞〉to (do something) countlessly / in vast numbers
Fragments were scattered countlessly across the ground.