return gm pending count by json