function [ s_num, s_sum ] = hw044 ( x, s );

  i = ( s < x );
  s_num = sum ( i );

  j = find ( s < x );
  s_sum = sum ( x(j) );

  return
end
