implemented the counting of articles

Signed-off-by: NurPech <nurpech@nurpech.de>