On Some Problems Involving Random Number of Random Variables