While looking at multiple objects, observers are able to extract summary statistics of the set of these objects. At the same time, they still perceive individual items, rather than an abstract statistical feature of the whole set. Our study was aimed at investigating the way perception of an individual object is altered by the ensemble of surrounding objects under focused and distributed attention settings. Observers were presented with sets of 1 to 16 circles of different sizes and were subsequently asked to determine the size of a target circle using a two-alternative forced choice procedure. The target location was either pre-cued, resulting in attention focus on a particular item, or post-cued, resulting in the distribution of attention across the entire set. We found a strong effect of the context on the individual target size estimation under both focused and distributed attention settings. The effect was stronger in distributed attention condition. Observers tended to «compress» the size of the largest items in ensembles, and this effect was stronger under the distributed attention setting. We explain this effect by the mechanism of feature unification that increases object similarity and facilitates holistic perception of the ensemble. Unification is weaker under focused attention, which permits better processing of individual objects.