Fix function usage check in feed 1. Add reference count field to Function entity. 2. Add reference count check when drop function. 3. Increate reference count when apply function to feed. Decrease the reference count when disconnect feed. 4. Add test cases for drop function that is being used and drop function that is no longer in use.