# [Vyxal](https://github.com/Vyxal/Vyxal) `s`, 5 bytes ``` ɾǐƛ5O # main program ``` ``` ɾ # range over input ǐ # take the prime factors of each number ƛ5O # for each value, count the 5s -s # sum top of stack ``` [Try it Online!](https://lyxal.pythonanywhere.com?flags=s&code=%C9%BE%C7%90%C6%9B5O&inputs=2016&header=&footer=) # [Vyxal](https://github.com/Vyxal/Vyxal), 3 bytes ``` ¡5Ǒ ``` This one uses the same approach as caird coinheringaahing's answer [Try it Online!](https://lyxal.pythonanywhere.com?flags=&code=%C2%A15%C7%91&inputs=2016&header=&footer=)