function to count characters in excel cell