Made the countRows method of the SQL class static, so it can be easily accessible thru other classes.