A person bought some articles at the rate of 5 per rupee and the some number at the rate of 4 per rupee. He mixed both the types and sold at the rate of 9 for Rs. 2. In this business he suffered a loss of Rs. 3. The total number of articles bought by him was