Utilizing Treewidth for Quantitative Reasoning on Epistemic Logic Programs