Write SQL query to solve given problem: Among the active male employees, how many of them are paid with the highest frequency?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.BusinessEntityID) FROM EmployeePayHistory AS T1 INNER JOIN Employee AS T2 ON T1.BusinessEntityID = T2.BusinessEntityID WHERE T2.CurrentFlag = 1 AND T2.Gender = 'M' AND T1.PayFrequency = 2