// File: ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::rtl::vecops::count<double>::operator()(unsigned long const&, exprtk::type_store<double>::parameter_list)
inline T operator() (const std::size_t& ps_index, parameter_list_t parameters) exprtk_override
      {
         std::size_t cnt = 0;

         if (2 == ps_index)
         {
            for (std::size_t i = 0; i < parameters.size(); ++i)
            {
               if (scalar_t(parameters[i])() != T(0)) ++cnt;
            }
         }
         else
         {
            const vector_t vec(parameters[0]);

            std::size_t r0 = 0;
            std::size_t r1 = vec.size() - 1;

            if (
                 (1 == ps_index) &&
                 !helper::load_vector_range<T>::process(parameters, r0, r1, 1, 2, 0)
               )
            {
               return std::numeric_limits<T>::quiet_NaN();
            }

            for (std::size_t i = r0; i <= r1; ++i)
            {
               if (vec[i] != T(0)) ++cnt;
            }
         }

         return T(cnt);
      }

// Assembly:
subq $0x88, %rsp
movq %rdx, 0x78(%rsp)
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rcx
movl $0x2, %eax
cmpq (%rcx), %rax
jne 0x573848
movq $0x0, 0x58(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x572dc0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jae 0x573843
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x572de0
movq %rax, %rsi
leaq 0x50(%rsp), %rdi
callq 0x572e10
leaq 0x50(%rsp), %rdi
callq 0x572e30
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x573823
jp 0x573823
jmp 0x573831
movq 0x60(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x60(%rsp)
jmp 0x573833
movq 0x58(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x58(%rsp)
jmp 0x5737cb
jmp 0x57394e
movq $0x0, 0x38(%rsp)
leaq 0x78(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x572de0
movq %rax, %rsi
leaq 0x40(%rsp), %rdi
callq 0x572e40
movq $0x0, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x572e70
subq $0x1, %rax
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rdx
xorl %eax, %eax
movl $0x1, %ecx
cmpq (%rdx), %rcx
movb %al, 0x7(%rsp)
jne 0x5738d9
movq $0x1, 0x20(%rsp)
movq $0x2, 0x18(%rsp)
leaq 0x78(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x28(%rsp), %rdx
leaq 0x20(%rsp), %rcx
leaq 0x18(%rsp), %r8
xorl %eax, %eax
movl %eax, %r9d
callq 0x572e90
xorb $-0x1, %al
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0x5738e3
jmp 0x5738f6
callq 0x2361c0
movsd %xmm0, 0x80(%rsp)
jmp 0x57397f
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x28(%rsp), %rax
ja 0x57394c
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x572fd0
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x57392c
jp 0x57392c
jmp 0x57393a
movq 0x60(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x60(%rsp)
jmp 0x57393c
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x573900
jmp 0x57394e
movaps 0x2784b(%rip), %xmm1    # 0x59b1a0
movq 0x60(%rsp), %xmm0
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x27849(%rip), %xmm1    # 0x59b1b0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp)
movsd 0x80(%rsp), %xmm0
addq $0x88, %rsp
retq