Can't understand how covergroup sample works

Yes but why is it another question ?