Complexity for extended dynamical systems