code: public static Map<String,Object> getAggregationMetrics(Map<String,?> map ,String metrics ){
  		if(map != null){
  			return (Map<String,Object>)map.get(metrics);
  		}
  		return (Map<String,Object>)null;
  	}
docs: {
  "key": "demoproject",
  "doc_count": 30,
  "successsums": {
  "doc_count_error_upper_bound": 0,
  "sum_other_doc_count": 0,
  "buckets": [
  {
  "key": 0,
  "doc_count": 30
  }
  ]
  }
  },
  @param map
  @param metrics successsums
  @return