Shouldn't second "Count" be "CountRows" ?
try something like below
=IIF(Parameters!YourParameter.Count=CountRows(Fields!DataSetFieldName.Value, "Name OF Your DataSet"),"ALL",Join(Parameters! YourParameter.Value,","))
<I haven't tested above, kindly give it a try>