-- Database schema
| building : building_id [ TEXT ] primary_key , Name [ TEXT ] , Street_address [ TEXT ] , Years_as_tallest [ TEXT ] , Height_feet [ INT ] , Floors [ INT ] | Institution : Institution_id [ TEXT ] primary_key , Institution [ TEXT ] , Location [ TEXT ] , Founded [ INT ] , Type [ TEXT ] , Enrollment [ INT ] , Team [ TEXT ] , Primary_Conference [ TEXT ] , building_id [ TEXT ] Institution.building_id = building.building_id | protein : common_name [ TEXT ] primary_key , protein_name [ TEXT ] , divergence_from_human_lineage [ INT ] , accession_number [ TEXT ] , sequence_length [ INT ] , sequence_identity_to_human_protein [ TEXT ] , Institution_id [ TEXT ] protein.Institution_id = Institution.Institution_id |
-- -- Show the number of buildings with a height above the average or a number of floors above the average.

SELECT count(*) FROM building WHERE height_feet  >  (SELECT avg(height_feet) FROM building) OR floors  >  (SELECT avg(floors) FROM building);