add size method

This will be useful to figure out, which kind of data points is stored
in a file.