is the following sqlalchemy code in python valid? 

        res = Session.query(text('SELECT COUNT(*)')).from_statement(text('SELECT COUNT(*) FROM :table WHERE :column IS NULL;').params(table=table, column=column))
