Hi All,
Are there any functions to show the total bins in the covergroup? Or other way that can calculate the total bins?

In reply to peter:

Call get_coverage(C,T) on the covergroup. The second argument T returns the total number of bins.

See 19.8 Predefined coverage methods in the IEEE 1800-2017 SystemVerilog LRM