yes.
you never actually call the function count.
the function count is misnamed. That is ok but why name a function that computes area 'count'. I mean I can name my function that computes the Fibonacci series 'factorial_generator' too, but why troll your fellow coders?
you have a local variable named area and a function variable named area and it is legal but easy to confuse them. Here, main.area has never been given a value, count.area has been assigned...
count is a void function and all the parameters are passed by value, so it won't ever DO anything (all work done in count is discarded).
it would work with these changes:
void count (float length, float width, float &area) //now area changes the input variable (for area only, not for length or width) due to the & (passed by reference). do this to the header and body of the function.
cout << "Area of rectangle: " << count(length, width, area);