samer@42: function n=acount(m,k,j), samer@42: if nargin<3, j=0; end samer@42: if mk, n=k+1; else n=m; end; end