You could do that by making a copy of the Donk Flop stat and extending the columns. To specify that the player 3bet add 'cash_hand_player_statistics.flg_f_3bet' to the expression, and for the opportunity add 'cash_hand_player_statistics.flg_f_3bet_opp'. For tournaments replace cash_ with tourney_.
Take a look at the
Custom Stats Guide for an overview of how custom stats work, and the
Tutorial: Custom Reports and Statistics goes into much more detail about how to make custom stats - the latter was written for PT3, but the same principals apply.
So for example where the original actions column:
cnt_f_donk=
sum(if[cash_hand_player_statistics.flg_p_face_raise AND NOT (cash_hand_player_statistics.flg_p_3bet OR cash_hand_player_statistics.flg_p_4bet) AND cash_hand_player_statistics.flg_f_bet AND NOT (cash_hand_player_statistics.flg_f_cbet_opp) AND ((cash_hand_summary.cnt_players > 2 AND cash_hand_player_statistics.val_p_raise_aggressor_pos < cash_hand_player_statistics.position) or (cash_hand_summary.cnt_players = 2 and cash_hand_player_statistics.flg_blind_b)), 1, 0])
You could make your new actions column like this:
cnt_f_donk_3bet=
sum(if[cash_hand_player_statistics.flg_p_face_raise AND NOT (cash_hand_player_statistics.flg_p_3bet OR cash_hand_player_statistics.flg_p_4bet) AND cash_hand_player_statistics.flg_f_bet AND NOT (cash_hand_player_statistics.flg_f_cbet_opp) AND ((cash_hand_summary.cnt_players > 2 AND cash_hand_player_statistics.val_p_raise_aggressor_pos < cash_hand_player_statistics.position) or (cash_hand_summary.cnt_players = 2 and cash_hand_player_statistics.flg_blind_b))
and cash_hand_player_statistics.flg_f_3bet, 1, 0])