Database schema: create table Locations (CloseTime time, Deleted integer, EquipmentInspectionInterval integer, Id integer primary key, LocationNumber varchar(20), FreightCodeId integer FK->FreightCodes.id, MaxLoadPerTimeslot integer, IsOpen24Hours integer, LanguageId integer FK->Languages.Id, Name varchar(20), LastCountDate datetime, NextCountDate datetime, NonWorkingTimeSetId integer FK->NonWorkingTimeSet.Id, OpenTime time,  ProcessedPutAwayPullFromLocationId integer FK->Locations.id, ShortName varchar(20),TimeslotDuration integer, TargetDaysOnHand integer, TaxId varchar(50), TypeId integer FK->LocationTypes.Id);Create table LocationAddresses(Id Integer Primary Key, Type Integer, DisplayName varchar(100), StreetAddress varchar(250), City varchar(50), state varchar(50), zip varchar(15), country varchar(25), contactName varchar(100), PhontNumber varchar(35), EmailAddress varchar(35), LocationId Integer FK->Locations.Id, TimeZone varchar(100));
Question: how many locations are in system
SQL: select count(*) from locations