names = JSON.parse(ch, function(key, value){
var b = 0;
if(key.length > 0){
b = b+1;
}
console.log(b);
});
for(i in names){
if( typeof names[i] === 'object'){
names = names[i];
len = len + Object.keys(names).length;
console.log("len temp", len);
}
}