add counter implementation
add testing
v0.0.4