They suggested me to do a search to count the tota...
# suitescript
n
They suggested me to do a search to count the total for messages, event and phone calls and put it in a custom field and use that in my script. Is there any better way to achieve this?