fix to initialize count array
add missing printf