expose end method

* move labler count to labeler.js

* create static end method on Label

* expose static method from Label through index
update example to use new labeler