averaging inflections in plane curves

We all know that a generic complex plane curve of degree $$d$$ has $$3d(d-2)$$ inflections. Since Klein it is also known what the (strict) upper bound on the number of real inflections in real plane curves of degree $$d$$ is: $$d(d-2)$$, one third of the number of complex inflections. But what about the average real …