fix :count command return int instead of boolean