Adding data science solution

This is a thorough comparison! A more naive way would be `expect(value['A'][:total]).to eq(1)` etc. No need to change, this is good.