"in actions wherein the sum claimed being within the jurisdiction is the balance of an account the court may enquire into and take evidence if necessary upon the whole account even though such account contains items and transactions exceeding the amount of the jurisdiction"