cnt_p_4bet_vs_resteal: sum(if[holdem_hand_player_statistics.flg_steal_att and holdem_hand_player_statistics.flg_p_3bet_def_opp and not(holdem_hand_player_statistics.flg_p_squeeze_def_opp) and holdem_hand_player_statistics.flg_p_4bet, 1, 0])
cnt_p_4bet_vs_resteal_opp: sum(if[holdem_hand_player_statistics.flg_steal_att and holdem_hand_player_statistics.flg_p_3bet_def_opp and not(holdem_hand_player_statistics.flg_p_squeeze_def_opp) and holdem_hand_player_statistics.flg_p_3bet_def_opp, 1, 0])
This also excludes hands where you steal, one player calls and someone else makes a 3-bet squeeze. If you want those hands to count, remove the "not(holdem_hand_player_statistics.flg_p_squeeze_def_opp)" bit.