removed ORDER BY for count(*) query which caused an error

ORDER BY isn't needed for this count(*) qurey and also it causes an error and the contacts aren't displayed. With this fix the contacts are now being displayed.