Short answer
HubSpot's KB: in Advanced filters, + Add filter adds an AND condition within a group; + Add filter group adds an OR group, where records need to match at least one group.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
If numbers look off, compare with a filtered view of the same records first.
3. Related
AND vs OR groups and conditional formatting.