The interplay between selective attention and summary statistics