The licence capacity is calculated on all data stored in each secondary storage. If multiple copies are stored in multiple secondary storage; it is the cumulative capacity that is taken into account. The compression is not taking into account.