1. count command
hbase(main):001:0> count 'mobile_info'
hbase(main):001:0> count 'mobile_info',INTERVAL=2000
//INTERVAL: line number interval
2. The mapreduce that comes with hbase
-bash-4.1# hbase org.apache.hadoop.hbase.mapreduce.RowCounter 'mobile_info'