Get the total estimated time by selecting tasks and projects and running the Estimate time plug-in.
Install plug-in Plug-In code