Commit sample count after setting default.