Changed average timespent type to int
Merge pull request #820 from parthibane/master

Changed average timespent type to int