The technique is called: interclass correlation
Interclass correlation define the connection between two variables that belong to different classes,and commonly used for  countable measurements that made for several groups of subject. Currently, this type of correlations is among the most commonly used by marketing unites to research various information about their products (such as popularity, segmentation, positioning, etc_)