private int getNumOfLaunchMissiles(Timestamp startTime, Timestamp endTime) {
		PreparedStatement statement = null;
		try {
			statement = connection.prepareStatement("SELECT count(*) FROM "+MISSILE +" WHERE launchTime BETWEEN ? AND ?");
			statement.setTimestamp(1, startTime);
			statement.setTimestamp(2, endTime);
			ResultSet rs = statement.executeQuery();
			if(rs.next()){
				return rs.getInt(1);
			}
		} catch (SQLException e) {
			printSQLErrors(e);
		} finally {
			try {
				if (statement != null) 
					statement.close();
			} catch (SQLException e) {
				printSQLErrors(e);
			}
		}
		return 0;
	}