SELECT count(a.age) FROM Author a works as SELECT count FROM Author a
Distinct count should consider duplicates.