add lifecycle counter
Ignore files that are removed after building the glob