how to calculate probability - Search