Returning data from value count as dict instead of arrays