change java logic
expose count
Bump to 0.0.3