change class value name "hist" => "counts".
```
counts = {tag => hist}
```
fix test.