In Java Edition, the number of allays spawning in the cage beside pillager outpost is always 2. However, in Bedrock Edition, you can find numbers ranging from 1 to 6. Among them, 1-3 allays account for more than 95% of the situation, which is easy to reproduce. I will give the seed and coordinate of 4 allays and 6 allays:
6 allays - seed:1234567 | coordinate:5648 72 -9799 | Cannot reproduce in 1.18.30.22 | Can reproduce in 1.20.60.22
4 allays - seed:9064150133272194 | coordinate:595 80 -2020 | Can reproduce in 1.18.30.22 and 1.20.60.22
The common point between above 2 examples is that the cage is on the edge of the chunk, resulting in spawning repeatedly.
Expected Results: The number should always be two like Java Edition.