Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CFrontend/2006-01-23-FileScopeAsm.c b/llvm/test/CFrontend/2006-01-23-FileScopeAsm.c
index 57f7939..fb55a41 100644
--- a/llvm/test/CFrontend/2006-01-23-FileScopeAsm.c
+++ b/llvm/test/CFrontend/2006-01-23-FileScopeAsm.c
@@ -1,5 +1,5 @@
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
-// RUN: llvm-dis | grep {foo\[12345\]} | wc -l | grep 5
+// RUN: llvm-dis | grep {foo\[12345\]} | count 5
__asm__ ("foo1");
__asm__ ("foo2");