# [MATL], 7 bytes


[Try it online!][TIO-j5o4vwi9]

[MATL]: https://github.com/lmendo/MATL
[TIO-j5o4vwi9]: https://tio.run/##y00syfn/3zjCKErVqer/fyMjAA "MATL – Try It Online"

Exact transliteration of my MATLAB answer. Note that input and output are implicit.

    3X2 % Literal 'int64'
    Z%   % Typecast: changes input (implicitly taken and converted to double) to 64 bit int without changing underlying bits
    B     % Convert integer to array of 1s and 0s
    z     % Count nonzero entries