Fix fixed_ip_count_by_project in DB API

Fix "by project" filtering in fixed_ip_count_by_project
method of SQLAlchemy DB API implementation.

Fixes: bug #1171161
Change-Id: Id408aba6db4dd953945feba36d17b056266ca4b7
Merge "Fix fixed_ip_count_by_project in DB API"