Update countexecutenode.cpp

hasValid API