Add ticket metrics

Hey, 

This changeset is regarding getting ticket metrics as specified in the issue #82. 

Cheers,
Amal K.