apply: count the size of postimage correctly