I am quite new to android and SQLite and having trouble to count the token occurrence and no of rows containing the token. What I have found is
COUNT() Function and
getCount() Function
Both only return the no of rows containing the token. I need to calculate the token occurrences also i.e if token is present in 5 tables rows but in row 3 token occurs 2 times I need to display 6 occurrences instead of 5.
Sorry for improper formatting if any!