You appear to be asking two different things here.
- How many trips can you make?
- How long can you stay?
There doesn't appear to be a limit on how many trips you can make on a B2 visa. Personally I made 27 trips into the US on my B2 visa in 2023.
However, the CBP officer will assess whether they believe you are attempting to reside in the US based on the number of times you enter, and the amount of time you remain in the US. If they believe you are attempting to live in the US (8 months out of the year probably looks like that) then they can and will deny you entry (and worse).
The 6 months they allow you when you enter is for that entry. If you attempt to enter again, they can give you 6 more months, they can give you less than 6 months, they can give you just a few days. Or they can deny you entry altogether. They can also revoke the visa if they believe you are misusing it.
It is up to the CBP officer to determine what you are up to, and whether you are attempting to live/work in the US illegally.
It is up to you to honestly describe your intentions when you enter. If you want to be there for 8 months in a year, you will need to be honest about your intent, how you expect to pay for it, etc.