Statistics for Machine Learning Topological Defects of Liquid Crystals in Two Dimensions