Personally a 20g is small for mollies, they ideally should have a 40g+ because they can get really big for a 20g.
That said even the corydoras you have are a little high in number for the tank size, they too can get 3 inches or more, which is a lot of fish for the tank size. Of the larger corydoras, such as aenea and paleatum, I'd only go up to 8 altogether in a 20g. And I stock generously.
The other thing, is water parameters have very little overlap. Your otocinclus need GH below 215ppm, while mollies need a GH 250ppm+. You should know your GH and stock according to what your tap is, unless you have no issues buying the stuff to adjust the GH for the fish, but then one will suffer either way as there's no overlap on the otos and mollies. The corydoras species you have can handle up to 268ppm GH, but still a very narrow range.
Anyways for size:
This lady we used to have, some can get even larger than her.
View attachment 349592
View attachment 349591
View attachment 349590
And for aenea cory size:
View attachment 349595
When stocking, you want to factor in the potential max size. Fish sold in stores are often young fish with lots of growing still to do.
Your stock levels, I'd expect in a 40g, a 20g is cramped for these choices of fish, in my opinion.
Mollies also poop a lot lol they're a higher bioload fish.