Formally Certified Approximate Model Counting