For the first result, use Source a the dimension and Count(ID) as the expression.
For the second, use ID, Name, Date, City as dimensions, and If(Count(Distinct Source) = 1, 1, 0) as the expression. Ensure suppress zeroes is checked on the presentation tab and hide the expression column.
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein