Hi,
I have data with around 5000 rows.
There three columns (Group, Score and Count)
Value for Group: A, B
Value for Score ranging 0.5 - 1
Value for Count is 1 for each row.

I would like to summary the data by group A and B and group the Score value in few category and then sum the count for each score category , as below format.

I am seeking help from the community how to create JSL script to perform this task?
I attach data here as well.
Thanks