how to match a pattern in several fields and print line if encountered n times
===

I have a file which looks like this:

         #CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	AD0062-C AD0065-C
           2L   560	.	T	C	30.65	PASS	AC=3;AF1=0.5;AN=4;CI95=0.5,0.5;DP4=9,3,7,2;DP=21;FQ=36;MQ=31;PV4=1,1,0.00019,0.46;SF=3,15	GT:GQ:PL	.	.
           2L	595	.	G	T	61.75	PASS	AC=11;AF1=0.5263;AN=22;CI95=0.5,1;DP4=5,1,4,5;DP=15;FQ=-17.1;MQ=23;PV4=0.29,0.0028,1,1;SF=1,2,3,4,5,6,8,9,10,11,12	GT:GQ:PL	.	0/1:13:132,0,10	
        

The file actually has a total of 25 columns. I want to parse the file using a perl script and match the dot character (".") starting from column 10-25. However, I want the output so that only lines that have the occurrence of the dot character (tested only in columns 10-25) 8 times or more are printed. It also needs to skip comment lines which are marked by a double hash (##; the header is marked by a single hash #).

I looked into using quantifiers for pattern matching but I don't think it behaves in a way that I need it to.

P.S. Ideally I want to run it using a perl script, but I can also use the shell

Thanks in advance,

Danica