Run dsl script with delegated flow methods and store count number