postproc.py: update --layout option for row#n, col#n layouts

- update get_position_counts(), Viewer.get_size_hint()