A general framework for static profiling of parametric resource usage*. Issue 5 (14th October 2016)