MINOR: standard: add a simple popcount function

This function returns the number of ones in a word.
1 file changed