def METHOD_NAME(self, count=1000):
    """Check decrypting column when reading multiple entries
    encrypted with the same parameters for the same user
    from a table.
    """
    node = self.context.node
    key = f"{'1' * 64}"
    iv = f"{'2' * 64}"
    aad = "some random aad"
    for mode, key_len, iv_len, aad_len in modes:
        with Example(f"""mode={mode.strip("'")} key={key_len} iv={iv_len} aad={aad_len}""") as example:
            with table("user_table", """
                    CREATE TABLE {name}
                    (
                        date Nullable(Date),
                        name Nullable(String),
                        secret Nullable(String)
                    )
                    ENGINE = Memory()
                    """):
                example_mode = mode
                example_key = f"'{key[:key_len]}'"
                example_iv = None if not iv_len else f"'{iv[:iv_len]}'"
                example_aad = None if not aad_len else f"'{aad}'"
                with When("I insert encrypted data"):
                    encrypted_secret = node.query(f"""SELECT hex(encrypt({example_mode}, 'secret', {example_key}{(", " + example_iv) if example_iv else ""}{(", " + example_aad) if example_aad else ""}))""").output.strip()
                    values = [f"('2020-01-01', 'user0', unhex('{encrypted_secret}'))"] * count
                    node.query(
                        "INSERT INTO user_table\n"
                        "   (date, name, secret)\n"
                        f"VALUES {', '.join(values)}")
                with And("I decrypt data", description="using a subquery and get the number of entries that match the plaintext"):
                    output = node.query(f"""SELECT count() AS count FROM (SELECT name, decrypt({example_mode}, secret, {example_key}{(", " + example_iv) if example_iv else ""}{(", " + example_aad) if example_aad else ""}) AS secret FROM user_table) WHERE secret = 'secret' FORMAT JSONEachRow""").output.strip()
                with Then("I should get back the expected result", description=f"{count}"):
                    assert output == f'{{"count":"{count}"}}', error()