code: def test_count_exprs_exclude_list():
      assert (
          ast.count_exprs(
              ast.BinNumExpr(
                  ast.NumVal(1), ast.NumVal(2), ast.BinNumOpType.ADD
              ),
              exclude_list={ast.BinExpr, ast.NumVal},
          )
          == 0
      )
  
      assert (
          ast.count_exprs(
              ast.BinNumExpr(
                  ast.NumVal(1), ast.NumVal(2), ast.BinNumOpType.ADD
              ),
              exclude_list={ast.BinNumExpr},
          )
          == 2
      )
  
file_path: m2cgen/tests/test_ast.py
imports: from copy import deepcopy
  import numpy
  import pytest
  from m2cgen import ast
label_desc: Use image node_id 2 for calling a global function with example usage: test_count_exprs_exclude_list() without return types