add method for getting action message spec count in sqlite
add method for checking if an action channel has any messages in it.