[Glance] change wc to grep -c