count characters, numbers, lowercase/uppercase letters, spaces in text and encrypt text