Renamed attribute lookup, to be consistent with entity lookup. Added min count validation test.