fix concurrency when get count