return 0 if the procedure filter does not provide results