Convert tests using "| wc -l | grep ..." to use the count script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PowerPC/rlwinm2.ll b/test/CodeGen/PowerPC/rlwinm2.ll
index 78127f1..06ceaa2 100644
--- a/test/CodeGen/PowerPC/rlwinm2.ll
+++ b/test/CodeGen/PowerPC/rlwinm2.ll
@@ -4,8 +4,8 @@
 ; RUN: not grep srawi %t 
 ; RUN: not grep srwi %t 
 ; RUN: not grep slwi %t 
-; RUN: grep rlwnm %t | wc -l | grep 1
-; RUN: grep rlwinm %t | wc -l | grep 1
+; RUN: grep rlwnm %t | count 1
+; RUN: grep rlwinm %t | count 1
 
 define i32 @test1(i32 %X, i32 %Y) {
 entry: