You need more pygmy cories to prevent stress from too few, and as I mentioned previously 8-9 would be minimum. You've no problem with this many, or a few more; I have a group in a 10g tank and they spawn regularly so there are 15-25 at any given time.
Rasbora generally are good species for "quiet" tanks which this one would be, meaning fish that are not active swimmers or boisterous. But there are better suited species than the Harlequin, given the space. This species is
Trigonostigma heteromorpha, and there are two others very similar but smaller and better suited.
T. espei (sometimes called lambchop rasbora) and
T. hengeli (my personal favourite). Data here:
http://www.seriouslyfish.com/species/trigonostigma-espei/
http://www.seriouslyfish.com/species/trigonostigma-hengeli/
Smaller rasboras are the dwarf species in the genus
Boraras.
Boraras brigittae is one often seen, and there are a few others less common but similarly beautiful.
http://www.seriouslyfish.com/species/boraras-brigittae/
If you choose
Trigonstigma espei or
T. hengeli, you could have the dwarf rasbora as well. They all get along. And the pygmy cories of course, and the shrimp. I don't know much about amano shrimp, they might get eaten by fish though not likely the cories or dwarf rasbora.