add ref count interface
Merge branch 'master' of github.com:Answeror/yapimpl