Fix counts in multi-dimensional charts

https://bugzilla.redhat.com/show_bug.cgi?id=1169351