add logger

Signed-off-by: duxiaofeng-github <297951292@qq.com>
add init.go

Signed-off-by: duxiaofeng-github <297951292@qq.com>
add count func

Signed-off-by: duxiaofeng-github <297951292@qq.com>
add helper

Signed-off-by: duxiaofeng-github <297951292@qq.com>