My DB generates 3000 lines for each process and I must count some values for a report.
the generated file is like this :

```
CREATE TTL:NAME=SMO:0/TTS:0/UPL:1,BLQ=TRUE,NAND:TRUE,EBSPWRC=ADAPTIVE,EMSPWRC=ADAPTIVE
CREATE GPL,ASSLAPD=TSM:37/LPDLM:0,
CREATE GPL,ASSLAPD=TSM:38/LPDLM:5,
CREATE GPL,ASSLAPD=TSM:41/LPDLM:1,
CREATE GPL,ASSLAPD=TSM:21/LPDLM:8,
CREATE TTL:NAME=SMO:0/TTS:0/UPL:1,BLQ=FALSE,NAND:FALSE,EBSPWRC=ADAPTIVE,EMSPWRC=ADAPTIVE
CREATE GPL,ASSLAPD=TSM:37/LPDLM:4,
CREATE GPL,ASSLAPD=TSM:21/LPDLM:1,
CREATE TTL:NAME=SMO:0/TTS:0/UPL:1,BLQ=TRUE,NAND:TRUE,EBSPWRC=ADAPTIVE,EMSPWRC=ADAPTIVE
CREATE GPL,ASSLAPD=TSM:38/LPDLM:1,
CREATE GPL,ASSLAPD=TSM:41/LPDLM:1,
CREATE GPL,ASSLAPD=TSM:21/LPDLM:7,

```

Actually I want to count `CREATE GPL` if the `BLQ` and `NAND` be true,
Also I wrote this method that read the file line by line :

```
public void getGPLCount(File f) throws Exception { 
    BufferedReader br = new BufferedReader(new FileReader(f));
    String line;
    while ((line = br.readLine()) != null) {
        if (line.startsWith("CREATE TTL:NAME=") && line.contains("BLQ=TRUE") && line.contains("NAND:TRUE"))
        //___//
    }
}

```

thnaks for your help ...