Added classwide method to get total expense and income