### Database Schema:
CREATE TABLE gasstations (
	GasStationID	INTEGER	NOT NULL	PRIMARY KEY,
	ChainID	INTEGER	NULL,
	Country	TEXT	NULL,
	Segment	TEXT	NULL
);

CREATE TABLE customers (
	CustomerID	INTEGER	NOT NULL	PRIMARY KEY,
	Segment	TEXT	NULL,
	Currency	TEXT	NULL
);

CREATE TABLE yearmonth (
	CustomerID	INTEGER	NOT NULL	PRIMARY KEY,
	Date	TEXT	NOT NULL	PRIMARY KEY,
	Consumption	REAL	NULL,
	foreign key (CustomerID) references customers (CustomerID)
);

CREATE TABLE products (
	ProductID	INTEGER	NOT NULL	PRIMARY KEY,
	Description	TEXT	NULL
);

CREATE TABLE transactions_1k (
	TransactionID	INTEGER	NULL	PRIMARY KEY,
	Date	DATE	NULL,
	Time	TEXT	NULL,
	CustomerID	INTEGER	NULL,
	CardID	INTEGER	NULL,
	GasStationID	INTEGER	NULL,
	ProductID	INTEGER	NULL,
	Amount	INTEGER	NULL,
	Price	REAL	NULL
);

### User's Query:
How many transactions were paid in CZK in the morning of 2012/8/26?

### Extra Knowledge:
'2012/8/26' can be represented by '2012-08-26'; The morning refers to the time before '13:00:00'
SELECT COUNT(T1.TransactionID) FROM transactions_1k AS T1 INNER JOIN customers AS T2 ON T1.CustomerID = T2.CustomerID WHERE T1.Date = '2012-08-26' AND T1.Time < '13:00:00' AND T2.Currency = 'CZK'