Fixes #19 . Created function to gets total of sells