added function chcount to zapserver.go
no changes I think