package util; @FunctionalInterface public interface PrimeCounter { int countPrimes(int[] nums) throws Exception; }