Update countexecutenode.cpp

adding previous result API