How can I get count of deleted rows
The delete query will return a query object for all methods except ->execute(). Methods can be chained until the query has been assembled. Execute() completes the chain.

Try:

$count = db_delete('node')
  -&gt;condition('uid', 1)
  -&gt;execute();