Changed count to numel