[PDT-5181] Add metrics for prepared and executed statements