How many loan accounts are for pre-payment of duration of 24 months with weekly issuance of statement.
Frequency = 'POPLATEK TYDNE' referes to weekly statement
SELECT COUNT(T2.account_id) FROM account AS T1 INNER JOIN loan AS T2 ON T1.account_id = T2.account_id WHERE T2.duration = 24 AND T1.frequency = 'POPLATEK TYDNE'