title: Count the number of rows in a database from an activity outside the adapter
body: <p>Trying to get a count of the rows in a database from a separate activity.  I have been messing with the methods to do so, but I can't seem to instantiate them from another activity if the method is built in the database adapter class.  Ideally, I would like the method in the adapter to return an int that I can then use in a number of different activities down the chain.  Is there a way to do this that I am not thinking of?  </p>