It counts as sleeping if you have your eyes closed in futon/bed.
You are sleeping as long as you have your eyes closed in futon/bed.
It counts as sleeping if you have your eyes closed in futon/bed.
(布団/ベッドに入って目を閉じてれば寝たことになるんだよ。)
You are sleeping as long as you have your eyes closed in futon/bed.
(布団/ベッドに入って目を閉じてる限り寝てることになるんだよ。)
というのはいかがでしょうか ヽ(o´ω`o)ノ
count as ○○ = ○○のうちになる/○○ということになる
have ○○'s eyes closed = ○○の目を閉じる
as long as ○○ = ○○限り
以上、乱雑で申し訳ありませんが、少しでも参考になれば嬉しいです (*´ω`*)ノ