Exc3 modified count replaced by array length,used queryselectorall instead of for loop,applied generic code(max checks)