按照 group 的条件, 满足一条就加1,
db.getCollection('user_login_info').aggregate( [ {$project:{account_id:"$account_id",login_time:{$mod: [ "$create_time", 1000000 ]}}}, {$match:{ login_time:{$gt:60000,$lt:120000}}}, {$group:{_id:"$account_id",count: { $sum: 1 },count: { $sum: 1 }}} ])