I tried to translate "mostly".
I just dont get the в before the word.
Is it something you add to indicate you're talking about a quantity that isn't compared to nothing else?
Composition-wise, ''в основном'' is like ''in general.'' The preposition ''в'' in ''в основном'' works just as the preposition ''in'' works in ''in general.'' I hope this analogy clarifies the issue.