Statistics for Analysing river systems with time series data using path queries in graph databases