Added number of ransoms per date in group query.