Added errors count function for k-mers score