Capacity Estimation for Emergency Exits and Bottlenecks