A generalised entropy of curves: An approach to the analysis of dynamical systems