Towards Measuring Goal-Directedness in AI Systems