#!/usr/bin/python3
""" Function that appends a string at the end of a text file (UTF8) and
    returns the number of characters added: """


def append_write(filename="", text=""):
    """ append_write method:
        Args:
            filename = name of file(string)
            text = text content of file
        Returns:
            contents appended to file
    """
    with open(filename, mode='a', encoding='utf-8') as f:
            return f.write(text)
