trying out attributes
count db entries and calculate type of reflection