Suppose you're some sort of crazy nerd fellow and you live in an area that's absolutely covered in fiber optics and network facilities. What kind of cost / infrastructure would be needed to hook in somewhere and get you're internet connection directly from a local datacenter?


Question: How to count the array from specific JSON object value?
Answer: This will give you a map object which will contain the count for each bulan value. For example, map['4'].count will return 3.

var i, row, arr = obj.GetReportIdResult, map = {};
for (i = 0; i &lt; arr.length; i++) {
    row = arr[i];
    map[row.bulan] = map[row.bulan] || {count: 0};
    if (map[row.bulan][row.type] === undefined) {
        map[row.bulan][row.type] = row.type;
        map[row.bulan]['count'] += 1;
    }
}
console.log (JSON.stringify(map));​


JSFiddle here.