function res = ntrials(this)
% Method for getting the number of trials in the file
% FORMAT res = ntrials(this)
%__________________________________________________________________________

% Vladimir Litvak
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


res = length(this.trials);
