def METHOD_NAME(self, table, table_name, attribute_count):
    project = table.project
    new_attribute = "new_attribute"
    table.add(new_attribute, "some description")
    project.conn.commit()
    curr = project.conn.cursor()
    curr.execute(f'select count(*) from "attributes_documentation" where name_table="{table_name}"')
    q2 = curr.fetchone()[0]
    assert q2 == attribute_count + 1, "Adding element did not work"
    result = curr.execute(
        f'select "{new_attribute}" from "attributes_documentation" where name_table="{table_name}"'
    ).fetchone()[0]
    assert result == new_attribute