This simple console application counts the number of records of a choosen entity