On sample complexity of conditional independence testing with Von Mises estimator with application to causal discovery