Don't have Telegram yet? Try it now!
http://sf-ninjas.com/diary/26-system-queryexception-aggregate-query-has-too-many-rows-for-direct-assignment-use-for-loop
System.QueryException: Aggregate query has too many rows for direct assignment, use FOR loop