comp-manager: Add new method to store ref count of applications