def interpret_stats(results):
stats = results.stats<EOL>contains_updates = stats.pop("<STR_LIT>", False) if stats else False<EOL>if not contains_updates:<EOL><INDENT>result = '<STR_LIT>'.format(len(results))<EOL><DEDENT>else:<EOL><INDENT>result = '<STR_LIT>'<EOL>for stat, value in stats.items():<EOL><INDENT>if value:<EOL><INDENT>result = "<STR_LIT>".format(result, value,<EOL>stat.replace("<STR_LIT:_>", "<STR_LIT:U+0020>"))<EOL><DEDENT><DEDENT><DEDENT>return result.strip()<EOL>
Generates the string to be shown as updates after the execution of a
    Cypher query

    :param results: ``ResultSet`` with the raw results of the execution of
                    the Cypher query