fix functional projects controller test fails in Ruby 1.8.6.
Array#count is introduced in Ruby 1.8.7.
Authored by: tmaruyama 2011-04-16
Parent: [r5476]
Child: [r5478]