Using Log class.
Fix sprites count.