That will almost certainly be from a plugin or theme. Probably the easiest option is to try switching themes, or disable plugins one by one until the error goes away, then that's the one causing the problem. Look for uses of the count() function, you'll need to check that the variable is an array before calling it.
Finding the exact line causing the problem is more tricky due to how Q2A processes plugin code, but you can try uncommenting the line marked "to debug munged code" in either
- qa-base.php, qa_load_override_files function
- app/format.php, qa_load_theme_class function
When the page loads it will show the final PHP code used, and the error will be the line listed in your error (50 or 25).