Statistics of macromolecular solutions trapped in small pores