count score, fix #15