Added findcount by example to generic repository implementation