Statistical model of protostellar clusters