Calculating the Drake equation