Query information of how many key are in keyboard