def METHOD_NAME(rse_id, *, session: "Session"):
    """
    Read the updated_rse_counters and update the rse_counter.
    :param rse_id:   The rse_id to update.
    :param session:  Database session in use.
    """
    updated_rse_counters = session.query(models.UpdatedRSECounter).filter_by(rse_id=rse_id).all()
    sum_bytes = sum([updated_rse_counter.bytes for updated_rse_counter in updated_rse_counters])
    sum_files = sum([updated_rse_counter.files for updated_rse_counter in updated_rse_counters])
    try:
        rse_counter = session.query(models.RSEUsage).filter_by(rse_id=rse_id, source='rucio').one()
        rse_counter.used = (rse_counter.used or 0) + sum_bytes
        rse_counter.files = (rse_counter.files or 0) + sum_files
    except NoResultFound:
        models.RSEUsage(rse_id=rse_id,
                        used=sum_bytes,
                        files=sum_files,
                        source='rucio').save(session=session)
    for update in updated_rse_counters:
        update.delete(flush=False, session=session)