How to return the data of the adaptive solver?

I am new in FeniCS and I need to use the AdaptiveLinearSolver. In the standard FeniCS demo I can use the LinearAdaptiveVariationalSolver to solve a single problem and print out the summary of the runtime. However I need to run this for many times and reading the printed out runtime summary is just not an option.

I noticed in the c++ code of the GenerticAdaptiveSolver one can return the run-time data through the function adaptive_data(). Here is the source code:

https://bitbucket.org/fenics-project/dolfin/src/master/dolfin/adaptivity/GenericAdaptiveVariationalSolver.h

However, I cannot call this from the python code. That is when I write:

dolfin.cpp.fem.GenericAdaptiveVariationalSolver.adaptive_data()

I receive an error that such function does not exist. Can anyone help me on how to solve this issue? Alternatively does someone know a python demo that does an (non-auto) adaptive refinement for the Poisson equation?

Thank you