Quantifying cosmic superstructures