If the aiptasia are really small then you should only need one shrimp but that's hoping you get the one that has an immediate appetite for aiptasia. In a 40 breeder I would pick up 3. Odds are at least one of the three will know right away that it can eat aiptasia and the other two will jump on board thereafter.