How To Check Count Of Characters In String Without Space In Python