function Main(input){
  input = input.trim().split('\n').map(x=>(x.split(' ').map(y=>parseInt(y))));
  var hasCandy = Array(input[0][0]).fill(0);
  var row = 1;
  while (row < input.length){
    for (let i=0;i<input[row+1].length;i++){
      hasCandy[input[row+1][i] - 1] = 1;
    }
    row += 2;
  }
  var zero = 0;
  for (let i=0;i<hasCandy.length;i++){
    if (hasCandy[i] == 0){
      zero++;
    }
  }
  console.log(zero);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));