count num of texts