check count > 0 before sync