Subscription count to local memory cache
Add match memory cache for most functions
Merge branch 'Eran'