That will need a custom statistic - see
this guide for the basics on custom statistics creation and
this guide for a deeper walkthrough. While the latter was written for PokerTracker 3 and the user interface is different the techniques still apply to PokerTracker 4.