nsnps function

Count the number of markers in the data