Write SQL query to solve given problem: Among the transactions made in July, 2014, how many of them were made by a male customer?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.CustomerID) FROM customers AS T1 INNER JOIN `transaction` AS T2 ON T1.CustomerID = T2.CustomerID WHERE T1.Gender = 'M' AND STRFTIME('%Y-%m', T2.TransactionDate) = '2014-07'