Get the entry number

I googled some and found this way.

I can just loop over all entry and check if it’s in the CUTG or not.
If you have any better idea, please let me know.

Thank you for your replay.
Genie