I need to develop shell script that will use the below data and do the summation of the attributes `attribute_x_count`, `attribute_y_count` and `attribute_z_count` only. I am new to shell scripting.

Could you please provide steps that required for creating shell script to
obtain summation of these attributes?

```
{
    "data_type": "dummy",
    "data": {
        "start_time": "2016-05-20",
        "attribute_a": [0, 0, 0, 0],
        "attribute_b": [0.0, 0.0, 0.0, 0.0],
        "attribute_x_count": [0, 0, 1, 1],
        "attribute_y_count": [0, 0, 2, 3],
        "attribute_d": {
            "sub_attribute_p": [0, 0, 0, 0],
            "sub_attribute_q": [0, 0, 0, 0],
            "sub_attribute_r": [0, 0, 0, 0],
            "sub_attribute_s": [0, 0, 0, 0]
        },
        "attribute_e": [0, 0, 0, 0],
        "attribute_f": [0, 0, 0, 0],
        "end_time": "2016-05-21",
        "attribute_z_count": [0, 0, 2, 2],
        "attribute_g": [0, 0, 0, 0],        
        "attribute_i": [0, 0, 0, 0],
        "attribute_j": [0, 0, 0, 0],
        "attribute_k": [0, 0, 0, 0],
        "attribute_i": [3, 0, 0, 0]
    }
}

```

Expected output:- 

> 
> Sum (attribute\_x/y/z\_count) = [0, 0, 1, 1] + [0, 0, 2, 3] + [0, 0, 2,
>  2]
>  = 2 + 5 + 4 = 11
> 
> 
>