Research team develops tool that counts brain lesions in sec