What is the maximum number of times a worshipper can scratch themselves within a single unit (rak'ah) of prayer to avoid invalidation?

Permissible Movements and Cases Requiring Prayer to Be Stopped