fix count test