Defendant sentenced for assault on Brooklyn correctional counselor