Question: Want to use Statistics[Tally] on a 3-tuple

Each line in my data file reads

[elm1, elm2, elm3, elm4]

I have the following lines to tally column 1:

> data:= map2(op, 1, datafile);

> Statistics[Tally](data);

I would like to tally the 3-tuples, [elm1,elm2,elm3], and it doesn't seem that Tally is able to handle a 3-tuple. 

I appreciate any help you can offer.

 

Please Wait...