Replace 'grep foo | count 0' with 'not grep foo'.

This avoids depending on pipefail not being used.

llvm-svn: 185648
18 files changed