Use namespaced note counter

Closes #13.