Imagine a hoplite phalanx formation where every spear/pike & shield wielding warrior has Polearm Master.
While you are wielding a glaive, halberd, pike, or quarterstaff, other creatures provoke an opportunity attack from you when they enter the reach you have with that weapon.
I know spears aren't listed as option for Polearm Master, I know pike normally is used with both hands in 5th Edition so usually they don't work with shield together. Because historical tactics & formations like phalanx this exists with our GM due to a historical accuracy 'errata' house rule.
The "bonus action to make a melee attack with the opposite end of the weapon" part of the feat is not used when wielding the weapon and a shield together. Every warrior is Medium size, the formation has two lines, weapons have reach.
Question: When an enemy moves to attack one of the warriors in the phalanx, how many of the hoplite warriors can attack the incoming enemy considering their reach and Polearm Master feat use?