On which team foul do bonus rules take effect during an NBA game quarter?

• 3
• 4
• 5
• 6

The bonus rules take effect on the 5th team foul in an NBA game quarter.