A man buys 2 types of chocolates: milk chocolate and dark chocolate. He buys twice as many milk chocolates as dark chocolates. Each milk chocolate costs 2 units and each dark chocolate costs 3 units. If the total cost of the chocolates is 48 units, how many dark chocolates did the man buy?