def METHOD_NAME():
    class CustomConstant(Constant):
        pass
    const1 = CustomConstant(1.0)
    const2 = Constant(1.0)
    const3 = CustomConstant(1.0)
    assert const2.count() == const1.count() + 1
    assert const3.count() == const1.count() + 2