Statistics for Protein Structure and Ion Binding in Potassium Selective Channels