Fix discrete histogram bin count heuristic for non-integer data. Fixes #435.