intent: Python: how to get the final output of multiple system commands?
rewritten_intent: capture final output of a chain of system commands `ps -ef | grep something | wc -l`
snippet: subprocess.check_output('ps -ef | grep something | wc -l', shell=True)