Remove static counter.
Merge pull request #4457 from ianna/dd-cleanup

Remove Static Counter.