Perceptual grouping and visual enumeration