expose activity duration in activity dao