fix count_score logic
* update insert.sql
* fix count_score logic