Counting problems involving multiplicative arithmetic functions of several variables