It is a good question! Basically, when you make the last pair and are about to insert it, you can look and see which edges on top are yellow. Based on the case you have, you can apply 1 of 8 algorithms and get a cross on top every time, meaning that there are only 7 OLLs to learn. 15 algorithms total is much less than 57. Here they are: