I am creating a Late Delivery form - once the user selects the supplier on the new form, i need InfoPath 2013 to query the list on SharePoint online and return the total number of times the supplier has been late and the number of times late in the last 30 days. I have been playing around with the count function, but not having any luck. Any and all help appreciated.