1. Why do you need this second while-loop? Its body will never be executed because its condition initially fails.
2. Your final cout-statement will only print the pointer value of count pointing to an array of ints. You should better loop over the array count printing its 26 values.