MySql funtions with kohana ORM-Collection of common programming errors

i m bit confuse how to convert my query :

> SELECT COUNT(`id`) AS `total_logs`, `userlog`.* FROM `user_log` AS
> `userlog` WHERE `user_id` = '31' AND date(`date_created`) =
> '2012-04-30'

to Kohana 3.1 ORM? currently i m using :

> $isLoged = ORM::factory('Userlog')->select(array('COUNT("id")',
> 'total_logs'))
>                 ->where('user_id', '=', $user->id)
>                 ->and_where('Date(date_created)', '=',  date('Y-m-d'))
>                 ->find_all();

unfortunately above one is giving error 🙁

Database_Exception [ 1054 ]: Unknown column ‘Date(date_created)’ in ‘where cla….

Originally posted 2013-11-27 12:09:31.