Ok in the latest n8n version (0.25.1) the bug got now fixed. Also, do the function nodes now have access to the static data.
Here a basic counter-example:
Be aware that the static data does not get persisted when testing via the Editor-UI. Only if it is in production mode will the static data be persisted and it will count up.