def record_xmpp_details(self, call, request, trace):
    stanzas = 0
    if call == 'SendMessage':
      stanzas = request.jid_size()
    elif call in ('GetPresence', 'SendPresence', 'SendInvite'):
      stanzas = 1
    trace.set_call_cost_microdollars(stanzas * config.XMPP_STANZA_COST)
    _add_billed_op_to_trace(trace, stanzas,
                            datamodel_pb.BilledOpProto.XMPP_STANZA)
return list of users that have access from groups to object on "permission" permission
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/Recorder.record_xmpp_details--crossover with--dataset/ETHPy150Open zorna/zorna/zorna/acl/models.py/get_acl_groups_by_object