Added stats to Query structure.

This PR adds the ability for a user to review the number attempts to execute a query as well as the average latency in nanoseconds to execute a single attempt of the query in question.

I have implemented simple test cases and I try to validate the logic as much as possible but to validate the correctness of latency is difficult outside of the driver so I jsut validate the number returned is greater than 0.