Quantification of carbon dioxide using downhole Wireline formation tester measurements