The number of times you can house hack is generally considered 10 because that is how many mortgages you can get in your personal bank before you'd get cut off. However, technically, you could do 10 in your name and 10 in your spouse's, making it 20 in total. This is the theoretical limit, but very difficult to do in the real world.