I would use 

    static $uses = 0;

to make it global counter.