Added keyboard statistics tracking