Can't understand how covergroup sample works

Did I implement ?
If no, how can I do it ?