def METHOD_NAME(how_many: int = ALL_OF_THEM):
    if how_many == ALL_OF_THEM:
        transaction_count['latest'] = transaction_count['pending']
    else:
        transaction_count['latest'] += how_many