Assuming it contains only the count, cat the file. One trigger would use "$CommandOutput = 0" and the other "$CommandOutput > 0" or "Otherwise". Make sure you build them using the expression builder so the syntax is correct (my example is close but not exact).
By default? I don't know, that would depend on several factors I would assume. Best to leave nothing to chance, I would take whatever steps were necessary to ensure they only happen at the end.
vinodclv - please start your own post rather than jumping into someone else's. When you do, provide the details of your issue rather than saying you have 'the same' issue.
You've given us absolutely no information to work with, just "it works here" and "doesn't work there". Help us help you,post the actual error that you are getting, please. Unedited.
'After anything subroutines' are another one of those invisible places that I tend to avoid if at all possible. Make sure you have an annotation stating that it is there and what it is doing. Me, I would split a new link off with a hard-coded zero in it and send it to an Aggregator where it is group...