Get teams total kills?

Is there a prebuild function that gets x teams total amount of kills?

I believe this is still relevant