Hcubature_count?

Nothing is currently built in. Would be easy to add since quadgk_count is just a 6-line wrapper around quadgk, i.e.

function hcubature_count(f, a, b; kws...)
    count = 0
    i = hcubature(a, b; kws...) do x
        count += 1
        f(x)
    end
    return (i..., count)
end

If someone wants to submit a PR to HCubature.jl with something like this (and a test, and docs), that would be welcome. hcubature_count · Issue #68 · JuliaMath/HCubature.jl · GitHub