Added count innerpub repos rpc
Added missing file and change sql
Merge pull request #122 from haiwen/pubinfo

Added count innerpub repos rpc