Calculate how much is spent

Calculate how much is spent