import java.util.*;
 
class Main {
 
    public static void main (String args[])
    {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int k=in.nextInt();
        in.nextLine();
        int[]N=new int[n];
        int d=in.nextInt();
        while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        }
        int count=0;
        for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        }
        System.out.println(count);
        
        
    }
} import java.util.*; util.* java class Main {
 
    public static void main (String args[])
    {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int k=in.nextInt();
        in.nextLine();
        int[]N=new int[n];
        int d=in.nextInt();
        while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        }
        int count=0;
        for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        }
        System.out.println(count);
        
        
    }
} Main public static void main (String args[])
    {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int k=in.nextInt();
        in.nextLine();
        int[]N=new int[n];
        int d=in.nextInt();
        while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        }
        int count=0;
        for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        }
        System.out.println(count);
        
        
    } main {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int k=in.nextInt();
        in.nextLine();
        int[]N=new int[n];
        int d=in.nextInt();
        while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        }
        int count=0;
        for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        }
        System.out.println(count);
        
        
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int n=in.nextInt(); n in.nextInt() in.nextInt in int k=in.nextInt(); k in.nextInt() in.nextInt in in.nextLine() in.nextLine in int[]N=new int[n]; N new int[n] n int d=in.nextInt(); d in.nextInt() in.nextInt in while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        } d>0 d 0 {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        } int ii=in.nextInt(); ii in.nextInt() in.nextInt in N[ii-1]=1 N[ii-1] N ii-1 ii 1 1 d-- d if(d==0&&in.hasNextInt())
            d=in.nextInt(); d==0&&in.hasNextInt() d==0 d 0 in.hasNextInt() in.hasNextInt in d=in.nextInt() d in.nextInt() in.nextInt in int count=0; count 0 for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            if(N[i]==0) count++;
        } {
            if(N[i]==0) count++;
        } if(N[i]==0) count++; N[i]==0 N[i] N i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String args[] args
import java.util.*;
 
class Main {
 
    public static void main (String args[])
    {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int k=in.nextInt();
        in.nextLine();
        int[]N=new int[n];
        int d=in.nextInt();
        while(d>0)
        {
            int ii=in.nextInt();
            
            N[ii-1]=1;
            d--;
            if(d==0&&in.hasNextInt())
            d=in.nextInt();
        }
        int count=0;
        for(int i=0;i<n;i++)
        {
            if(N[i]==0) count++;
        }
        System.out.println(count);
        
        
    }
}