big changes: add node reference count for LRU cache operation