Where can I find document tracking software

I don’t even know if this exists.

I’m looking for something that would run in the background, grab information from opened Office documents and export it to a spreadsheet:
author,
creation date,
word count.

Any ideas?

Many thanks.