How many nitrogenous bases are there in DNA and RNA?

DNA and RNA both contain four different nitrogenous bases.

The bases in DNA are Adenine (A), Thymine (T), Cytosine (C) and Guanine (G).
The bases in RNA are A, C, G and Uracil (U).