Given an array of integers marks containing the marks of a student in each subject and a multiplicative factor k. Return the Z-Score of the student.
Z-Score is defined as the maximum value of x, where the student has at least x subjects where they have scored at least x * k.