SELECT count(*) FROM savings WHERE balance  >  (SELECT avg(balance) FROM savings)
Find the number of accounts with a savings balance that is higher than the average savings balance.
[Schema (values) (types)]: | small_bank_1 |  ACCOUNTS : custid (text) , name (number) | SAVINGS : custid (text) , balance (number) | CHECKING : custid (text) , balance (number);