I am not seeing an existing custom statistic for that so please refer
this guide for the basics on custom statistics creation and
this guide for a deeper walkthrough. The latter was written for PokerTracker 3 but the techniques all apply to PokerTracker 4, the interface is just slightly different.